Add GitHub Copilot agent setup workflow#1543
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
Here is a template for typescript, notice how the structure is different. Adjust workflow accordingly and review the docs again. name: "Copilot Setup Steps" Automatically run the setup steps when they are changed to allow for easy validation, andallow manual testing through the repository's "Actions" tabon: jobs: The job MUST be called
|
|
@copilot apply comments |
…ows/ Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Fixed in commit. The file is now a proper GitHub Actions workflow at
|
|
@copilot add "make dev-deps" step before build |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Added |
|
Agentic Changeset Generator triggered by this pull request |
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This PR adds a
.github/workflows/copilot-setup-steps.ymlworkflow file to configure the GitHub Copilot coding agent environment with preinstalled tools and dependencies.Overview
The workflow follows the GitHub documentation for customizing the agent environment and mirrors the setup steps from our CI workflow's build job.
Workflow Structure
The workflow is configured as a proper GitHub Actions workflow with:
"Copilot Setup Steps"copilot-setup-steps(required by GitHub Copilot)workflow_dispatch,push, andpull_request(on changes to the workflow file itself)contents: read(minimal permissions needed for setup)ubuntu-latestSetup Steps
The workflow includes the following setup steps:
pkg/workflow/js/package-lock.jsongo.modwith caching enabledpkg/workflow/js/make deps-devto install development tools (golangci-lint, actionlint, prettier, GitHub Actions schema)make buildwithcontinue-on-error: trueto ensure environment setup completes even if the build failsBenefits
This configuration will:
The
continue-on-error: trueflag on the build step ensures that if there are existing build issues in the repository, the agent can still operate and provide help rather than failing during environment setup.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.